package com.payment.channel.api;

import java.util.Map;

import com.payment.channel.vo.WechatPayCallbackRequest;

public interface PayinService {

	public Map<String, String> payin(Map<String, Object> request) throws Exception;
	
	/**
	 * 根据响应字符串处理，返回对应的结果
	 * @param response
	 * @return
	 * @throws Exception 
	 */
	public WechatPayCallbackRequest callback(String response) throws Exception;
}
